import React from 'react';
import {Route, IndexRoute, Redirect} from 'react-router';
import Home from '../Home.jsx';

//Nicccce path
import ZoneListContainer from '../ZoneList/containers/ZoneListContainer.jsx';//园区列表
import ZoneDetailsContainer from '../ZoneList/containers/ZoneDetailsContainer.jsx';//园区详情
import UserInfo from '../UserInformation/containers/UserInfoContainer.jsx';//个人信息首页
import SetName from '../UserInformation/containers/SetName.jsx';//基础信息
import ResetPassword from '../UserInformation/containers/ResetPassword.jsx';//重置密码验证
import ResetNewPwd from '../UserInformation/containers/ResetNewPassword.jsx';//设置密码

//SuPath
import CreateTeam from '../CreateTeam/containers/CreateTeam.jsx'; //创建团队页面
import CreateTeamSuccess from '../CreateTeam/containers/CreateTeamSuccess.jsx'; //创建团队成功页面
import TeamList from '../CreateTeam/containers/TeamList.jsx'; //团队列表页面
import TeamInfo from '../CreateTeam/containers/TeamInfo.jsx'; //团队详情
import TeamInfoEdit from '../CreateTeam/containers/TeamInfoEdit.jsx'; //团队详情
import TeamListEdit from '../CreateTeam/containers/TeamListEdit.jsx'; //团队列表页面
import UserCenter from '../UserCenter/containers/UserCenter.jsx'; //个人中心
import RegisterAccount from '../RegisterLoginAccount/containers/RegisterAccount.jsx' //注册
import SetRegisterPassword from '../RegisterLoginAccount/containers/SetRegisterPassword.jsx' //注册
import Login from '../RegisterLoginAccount/containers/Login.jsx' //登录
import Forget from '../RegisterLoginAccount/containers/ForgetPassword.jsx' //忘记密码
import NewSetPassword from '../RegisterLoginAccount/containers/NewSetPassword.jsx' //忘记密码
import MeetingRoom from '../MeetingRoom/containers/MeetingRoom.jsx' //账单支付结果
import MeetingRoomHistory from '../MeetingRoom/containers/MeetingRoomHistory.jsx' //账单支付结果
import  MeetingRoomTimeUse from  '../MeetingRoom/containers/MeetingRoomTimeUseList.jsx' //会议室加油包使用记录
import  MeetingRoomBuyTime from  '../MeetingRoom/containers/MeetingRoomBuyTime.jsx' //购买会议室加油包
import  MeetingRoomBuyTimeHistory from  '../MeetingRoom/containers/MeetingRoomBuyTimeHistory.jsx' //会议室加油包充值历史

//企业管理
import CreateEditDepartment from '../CreateTeam/containers/CreateEditDepartment.jsx' //创建部门名称
import EditDepartment from '../CreateTeam/containers/EditDepartment.jsx' //编辑部门
import DepartmentInfo from '../CreateTeam/containers/DepartmentInfo.jsx' //部门信息
import CreateStaff from '../CreateTeam/containers/CreateStaff.jsx' //创建员工
import EditStaff from '../CreateTeam/containers/EditStaff.jsx' //创建员工

//员工邀请
import InviteJoin from '../InviteStaff/containers/InviteJoin.jsx' //分享邀请
import InviteStaffSubmit from '../InviteStaff/containers/InviteStaffSubmit.jsx' //邀请信息提交
import InviteJoinSuccess from '../InviteStaff/containers/InviteJoinSuccess.jsx' //邀请加入成功

export default (
    <Route path="/" component={Home}>
                <IndexRoute component={UserCenter}></IndexRoute>
                <Route path="ZoneList" component={ZoneListContainer}/>
                <Route path="ZoneDetail" component={ZoneDetailsContainer}/>
                <Route path="CreateTeam" component={CreateTeam}/>
                <Route path="CreateTeamSuccess" component={CreateTeamSuccess}/>
                <Route path="TeamList" component={TeamList}/>
                <Route path="TeamInfo" component={TeamInfo}/>
                <Route path="TeamInfoEdit" component={TeamInfoEdit}/>
                <Route path="TeamListEdit" component={TeamListEdit}/>
                <Route path="UserCenter" component={UserCenter}/>
                <Route path="UserInfo" component={UserInfo}/>
                <Route path="SetName" component={SetName}/>
                <Route path="ResetPassword" component={ResetPassword}/>
                <Route path="ResetNewPwd" component={ResetNewPwd}/>
                <Route path="RegisterAccount" component={RegisterAccount}/>
                <Route path="SetRegisterPassword" component={SetRegisterPassword}/>
                <Route path="Login" component={Login}/>
                <Route path="Forget" component={Forget}/>
                <Route path="NewSetPassword" component={NewSetPassword}/>
                <Route path="CreateEditDepartment" component={CreateEditDepartment}/>
                <Route path="EditDepartment" component={EditDepartment}/>
                <Route path="DepartmentInfo" component={DepartmentInfo}/>
                <Route path="CreateStaff" component={CreateStaff}/>
                <Route path="EditStaff" component={EditStaff}/>
                <Route path="MeetingRoom" component={MeetingRoom}/>
                <Route path="MeetingRoomHistory" component={MeetingRoomHistory}/>
                <Route path="MeetingRoomTimeUse" component={MeetingRoomTimeUse}/>
                <Route path="MeetingRoomBuyTime" component={MeetingRoomBuyTime}/>
                <Route path="MeetingRoomBuyTimeHistory" component={MeetingRoomBuyTimeHistory}/>
                <Route path="InviteJoin" component={InviteJoin}/>
                <Route path="InviteJoinSuccess" component={InviteJoinSuccess}/>
                <Route path="InviteStaffSubmit" component={InviteStaffSubmit}/>
    </Route>
);
